﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Headlight.Model
{
	public class Driver
	{
		public int DriverID { get; set; }

		[Required(ErrorMessage = "*")]
		public string FirstName { get; set; }
		[Required(ErrorMessage = "*")]
		public string LastName { get; set; }
		[Required(ErrorMessage = "Required.")]
		public string Gender { get; set; }
		[Required(ErrorMessage = "Required.")]
		public string MaritalStatus { get; set; }
		[Required(ErrorMessage = "Required.")]
		public DateTime BirthDate { get; set; }
		[Required(ErrorMessage = "Required.")]
		public string CreditRating { get; set; }
		[Required(ErrorMessage = "Required.")]
		public string Education { get; set; }
		[Required(ErrorMessage = "Required.")]
		public string Occupation { get; set; }

		[Required(ErrorMessage = "Required.")]
		public string Relationship { get; set; }
		[Required(ErrorMessage = "Required.")]
		public string CurrentResidence { get; set; }

		public bool Concerns { get; set; }
		public bool FilingRequired { get; set; }
		public int QuoteID { get; set; }
	}
}